import { postUrl, getUrl, putUrl } from '../utils/https'
export const addUserInfo = (data) => {
  return postUrl('/user',data)
}
export const addIdentity = () => {
 return getUrl('/user/identity')
}
export const updataUser = () => {
  return getUrl('/user/user')
 }
 export const setupdataUser = (data) => {
  return putUrl('/user/user',data)
 }
 export const addUser = (data) => {
  return getUrl('/user/identity/edit',{identity_text:data})
 }
 export const addauthorityView = (data) => {
  return getUrl('/user/authorityApi/edit',data)
 }